package com.kgc.springboot.aviation.service.liuxu;

import com.kgc.springboot.aviation.mapper.DirectoryMapper;
import com.kgc.springboot.aviation.pojo.Directory;
import org.springframework.stereotype.Service;


import javax.annotation.Resource;
import java.util.List;
@Service
public class DirectoryServiceImpl implements DirectoryService {
    @Resource
    DirectoryMapper directoryMapper;
    @Override
    public List<Directory> selectDirectory(Integer lawsName) {
        return null;
    }

    @Override
    public int addDirectory(Directory directory) {
        return 0;
    }

    @Override
    public int updateDirectory(Directory directory) {
        return 0;
    }

    @Override
    public int deleteDirectory(Integer id) {
        return 0;
    }

    @Override
    public List<Directory> All() {
        List<Directory> list = directoryMapper.selectByExample(null);
        return list;
    }
}
